package com.jt.travel.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("travel-thirdpart")
public interface SendSms {
    @RequestMapping("/sms/send")
    public Map send(@RequestParam("phone") String phone,@RequestParam String code);
}
